.PHONY:all epoll_server calc_client clean

all:epoll_server calc_client
	~/pc.sh

epoll_server:main.cc
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp

calc_client:client.cc
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp

clean:
	rm -rf epoll_server calc_client
